<#assign module="order"/>

<@override name="header">
<link rel="stylesheet" href="${ctx}/assets/css/datepicker/datepicker.css">
<link rel="stylesheet" href="${ctx}/assets/css/datetimepicker.css">
<link href="//api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.css" rel="stylesheet" type="text/css" />
<style>
	/* autocomplete */
	div.ac {border: 1px solid #ccc;position:absolute;display: none;overflow: auto;background-color: #ffffff;z-index:99999;}
	div.ac > ul {margin-top:10px;padding:0;}
	div.ac > ul > li {height:33px;line-height:33px;cursor:pointer;}
	div.ac > ul > li:hover{background:#eee;}
	div.ac > ul > li > div span {padding-left:15px;}
	div.ac > ul > li > div span em {color:red;font-style: normal;}
	.inputTime
		{
		   height:35px;
		   width:260px;
		   border:1px solid #ccc;
		   border-radius:4px;
		   padding:6px 12px;
		}
</style>
</@override>
<@override name="body">

<div class="tabbable tabs-left">
	<div class="row">
		<div class="col-xs-12">
			<div class="orders-navt">
				<ul class="orders-nav">
	                <@daijia>
	                	<@shiro.hasPermission name='orderrealtime'>
	                	<li class="orders-notclick"><a href="${ctx}/order/realtime">时效</a></li>
	                </@shiro.hasPermission>
		                <@shiro.hasPermission name='order'>
		                	<li class="orders-notclick"><a href="${ctx}/order/daijialist" >代驾</a></li>
		                </@shiro.hasPermission>
	                </@daijia>
	                <@zhuan>
		                <@shiro.hasPermission name='zhuan'>
		                	<li class="orders-click"><a href="${ctx}/zhuanche/orderlist">专车</a></li>
		                </@shiro.hasPermission>
	                </@zhuan>
	                <@pao>
		                <@shiro.hasPermission name='errand'>
		                	<li class="orders-notclick"><a href="${ctx}/errand/errandList" >跑腿</a></li>
		                </@shiro.hasPermission>
	                </@pao>
	                <@freight>
		                <@shiro.hasPermission name='freight'>
		                	<li class="orders-notclick"><a href="${ctx}/freight/freightList" >货运</a></li>
			            </@shiro.hasPermission>
		            </@freight>
		            <@zhuanxian>
                        <@shiro.hasPermission name='zhuanxian'>
                            <li class="orders-notclick"  style="width:100px;"><a href="${ctx}/zhuanxian/orderList">快车</a></li>
                        </@shiro.hasPermission>
                    </@zhuanxian>
	                <li class="orders-notclick"><a href="${ctx}/driverrefuserecord/list">拒单</a></li>
	            </ul>
	    	</div>
	    	<div class="orders-navh">
	    		<@shiro.hasPermission name='zhuanCreate'>
		        <button class="add" onclick="window.open('${ctx}/zhuanche/add', '_blank', 'height=770,width=1220,scrollbars=yes,resizable=yes,alwaysRaised=yes,toolbar=no');"  ><b>+</b>&nbsp;&nbsp;添加订单</button>
				</@shiro.hasPermission>
			</div>
		</div>
	</div>
</div>

<div class="tab-content">
	<div class="container-fluid ">
  		<div class="row query-pad">
  			<div class="col-xs-10" style="padding: 0px;">
      			<div class="col-xs-4 input-query">
      				<span>订单编号:</span>
      				<input type="text" class="form-control form-contb" id="orderNumber" name="orderNumber" placeholder="请输入订单编号"/>
        		</div>
        		<div class="col-xs-4 input-query">
        			<span>客户:</span>
      				<input type="text" class="form-control form-contb" id="clientPhone" name="clientPhone" placeholder="请输入客户电话、姓名"/>
        		</div>
        		<div class="col-xs-4 input-query">
        			<span>服务人员:</span>
      				<input type="text" class="form-control form-contb" id="driverPhone" name="driverPhone" placeholder="请输入服务人员电话、姓名"/>
        		</div>
    		</div>
    		<div class="col-xs-2"style="padding: 0px;">
    				<div class="input-query-bttom " >
	    				<button  id="export_button" style="margin-left:10px;" type="button" class="btn btn-primary"><i class="glyphicon glyphicon-save"></i>导出</button>
	        		</div>
	        		<div class="input-query-bttom " >
	    				<button  id="searchButton"  type="button">查询</button>
	        		</div>
    		</div>
  		</div>
  		<div class="row query-pad choose" style="display: none;">
  			<div class="col-xs-12" style="padding: 0px;">
  				<div class="col-xs-11" style="padding: 5px;">
          			<@shiro.isMainCompany>
          			<div class="col-xs-4 input-query" style="text-align: center;">
            			<span>所属公司:</span>
  						<input type="text" class="form-control form-contb" id="companyName" name="companyName"  placeholder="请输入公司名称"/>
	            	</div>
	            	</@shiro.isMainCompany>
	            	<div class="col-xs-8 input-query" style="text-align: center;">
            			<span >下单时间:</span>
      					<input id="startTime" name="startTime"  type="text" class="form-control form-conthtl" placeholder="请输入下单起始时间"/>
      					<span  style="width: 5%">到</span>
      					<input id="endTime" name="endTime"  type="text" class="form-control form-conthtl" placeholder="请输入下单结束时间"/>
	            	</div>
	            	<div class="col-xs-8 input-query" style="text-align: center;">
            			<span >完成时间:</span>
      					<input id="startFinishTime" name="startFinishTime"  type="text" class="form-control form-conthtl" placeholder="请输入订单完成起始时间"/>
      					<span  style="width: 5%">到</span>
      					<input id="endFinishTime" name="endFinishTime"  type="text" class="form-control form-conthtl" placeholder="请输入订单完成结束时间"/>
	            	</div>
	            </div>	
  			</div>
  			<div class="col-xs-12" style="padding:5px; line-height:3;">
				<div class="col-xs-8 input-query">
					<span>下单人:</span>
				    <input type="text" class="form-control form-contb" id="createOrderName" name="createOrderName"  placeholder="请输入下单人名字"/>
  				</div>
  			</div>
			<div class="col-xs-12" style="padding:5px; line-height:3;">
				<div class="media-wit melect">
					<span>订单来源:</span>
				    <input type="checkbox"  name="orderType" value="电话预约">
				    <span class="checkbox-margin">电话预约</span>
				    <input type="checkbox" name="orderType" value="APP预约">
				    <span class="checkbox-margin">APP预约</span>
				    <input type="checkbox" name="orderType" value="微信预约">
				    <span class="checkbox-margin">微信预约</span>
				    <input type="checkbox" name="orderType" value="小程序">
                    <span class="checkbox-margin">小程序</span>
				    <input type="checkbox" name="orderType" value="网站预约">
				    <span class="checkbox-margin">网站预约</span>
				    <input type="checkbox" name="orderType" value="司机补单">
				    <span class="checkbox-margin">服务人员补单</span>
				    <input type="checkbox" name="orderType" value="客户经理">
				    <span class="checkbox-margin">客户经理</span>
  				</div>
  			</div>
			<div class="col-xs-12" style="padding:5px;">    				
  				<div class="media-hit melect">
					<span>订单状态:</span>
				    <input type="checkbox" name="status" value="0">
 					<span class="checkbox-margin">新单</span>
 					<input type="checkbox" name="status" value="1">
				    <span class="checkbox-margin">已派单</span>
				    <input type="checkbox" name="status" value="2,3,4">
				    <span class="checkbox-margin">执行中</span>
				    <input type="checkbox" name="treatment" value=""5>
				    <span class="checkbox-margin">未支付</span>
				    <input type="checkbox" name="status" value="6">
				    <span class="checkbox-margin">已完成</span>
				    <input type="checkbox" name="status" value="7">
				    <span class="checkbox-margin">已销单</span>
  				</div>
			</div>
  		</div>
  		<div class="query-jiant">
			<a href="#"><img id="jiant" src="${ctx}/assets/img/jiant2.png" /></a>          			
  		</div>
  	</div>
</div>

<!--列表-->
<div class="tabta-content">  	
	<table class="table table-condensed table-striped">
		<tbody id="order_tbody">
			<tr>
				<th style='min-width:80px;'>操作</th>
				<th style='min-width:80px;'>状态</th>
				<th style='min-width:80px;'>单号</th>
				<th style='min-width:100px;'>下单时间</th>
				<th style='min-width:80px;'>来源</th>
				<th style='min-width:80px;'>下单人</th>
				<th style='min-width:80px;'>客户名称</th>
				<th style='min-width:80px;'>客户电话</th>
				<th style='min-width:120px;'>使用人电话</th>
				<th style='min-width:100px;'>预约时间</th>
				<th style='min-width:200px;'>预约地</th>
				<th style='min-width:200px;'>目的地</th>
				<th style='min-width:120px;'>实收金额</th>
				<th style='min-width:80px;'>预算金额</th>
				<th style='min-width:300px;'>加收金额</th>
				<@tiaojia>
				<th style='min-width:150px;'>服务人员调价</th>
				</@tiaojia>
				<th style='min-width:120px;'>服务人员名称</th>
				<th style='min-width:120px;'>服务人员电话</th>
				<@shiro.isMainCompany>
				<th style='min-width:80px;'>所属公司</th>
				</@shiro.isMainCompany>
				<th style='min-width:80px;'>车辆类型</th>
				<th style='min-width:80px;'>租用类型</th>
				<th style='min-width:80px;'>车牌号</th>
				<th style='min-width:80px;'>服务时间</th>
				<th style='min-width:80px;'>里程</th>
				<th style='min-width:80px;'>等待时间</th>
				<th style='min-width:300px;'>备注</th>
				<th style='min-width:300px;'>销单原因</th>
				<th style='min-width:120px;'>操作</th>
			</tr>
		</tbody>
	</table>
	<br>
	<div style="text-align:center" id="NoData"></div>
	</br>
	<ul class="pagination pull-left pagination-sm pageshow" style="display:none;">
		<li><a></a></li>
	</ul>
	<ul class="pagination pull-left pagination-sm pagedata" style="display:none;">
    </ul>
</div>

<!--添加订单-->
<!--<div id="dialog_order" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel">
  <div class="modal-dialog modal-lg" style="width:1200px;">
    <div class="modal-content">
    	<div class="modal-header">
	        <button type="button" class="close" data-dismiss="modal" aria-hidden="false">&times;</button>
        	<h4 class="modal-title">专车订单</h4>
        </div>
	    <div class="modal-body">
	      	<form action=""  method="post" class="form-horizontal">
	      		<input type="hidden" id="passengerId">
	      		<input type="hidden" id="startLat">
	      		<input type="hidden" id="startLng" >
	      		<input type="hidden" id="endLat" >
	      		<input type="hidden" id="endLng" >
	      		<input type="hidden" id="startPrice" >
		  		<input type="hidden" id="mileagePrice" >
		  		<input type="hidden" id="runTimePrice" >
		  		<input type="hidden" id="travelTime" >
		  		<input type="hidden" id="mileage" >
		  		<input type="hidden" id="employId" >
	      		<div id="allmap2" class="col-sm-7" style="z-index:9999;height:600px;">
				</div>
	      		<div class="col-sm-5">
	      			<div class="form-group">
	                    <label class="col-sm-3 control-label">客户电话:</label>
	                    <div class="col-sm-9">
	                    	<input id="passengerPhone"  class="form-control"></input>
	                    </div>
					</div>
					<div class="form-group">
	                    <label class="col-sm-3 control-label">客户姓名:</label>
	                    <div class="col-sm-9">
	                    	<input id="passengerName"  class="form-control" ></input>
	                    </div>
					</div>
	      			<div class="form-group">
		                <label class="col-sm-3 control-label">所属公司:</label>
		                <div class="col-sm-9">
			                <select class="form-control" id="companyId" >
								<#if companys??>
									<option value="">请选择公司</option>
									<#list companys as company>
										<option value="${company.id}" <#if companyId?? && companyId==company.id>selected="selected"</#if>>${company.abbreviation?if_exists}</option>
									</#list>
								</#if>
							</select>
		                </div>
					 </div>
					 <div class="form-group">
		                <label class="col-sm-3 control-label">预约地:</label>
		                <div class="col-sm-5">
		                	<div class="input-group">
		                    	<input id="startAddress"  class="form-control"></input>
		                    	<span class="input-group-btn">
	                           		<button class="btn btn-default" type="button" id="btn-startAddress">定位</button>
	                            </span>
	                        </div>
		                </div>
		                <div class="col-sm-4">
							<div class="input-group">
								<input placeholder="详细地址:楼层/门牌" class="form-control" id="startAddressDetail"  type="text" value="" autocomplete="off" required/>
							</div>
						</div>
	                </div>
					<div class="form-group">
	                    <label class="col-sm-3 control-label">目的地:</label>
	                    <div class="col-sm-5">
	                    	<div class="input-group">
		                    	<input id="endAddress"  class="form-control"></input>
		                    	<span class="input-group-btn">
	                           		<button class="btn btn-default" type="button" id="btn-deliverAddress">定位</button>
	                            </span>
	                        </div>
	                	</div>
	                	<div class="col-sm-4">
							<div class="input-group">
								<input placeholder="详细地址:楼层/门牌" class="form-control" id="endAddressDetail"  type="text" value="" autocomplete="off" required/>
							</div>
						</div>
					</div>
					<div class="form-group">
		                <label class="col-sm-3 control-label">预约时间:</label>
		                <div class="col-sm-9 input-append date " id="startTime1">
							  <input  class="inputTime"  id="serverTime" type="text"/>
							  <span class="add-on"><i class="icon-calendar"></i></span>
		                </div>
	                </div>
	                <div class="form-group">
						<label class="col-sm-3 control-label">车辆类型:</label>
		                <div class="col-sm-9">
			                <select class="form-control" id="carTypeId" >
								<#if carTypes??>
									<#list carTypes as carType>
										<option value="${carType.id}">${carType.typeName?if_exists}</option>
									</#list>
								</#if>
							</select>
		                </div>
					 </div>
				    <div class="form-group">
					 	<label class="col-sm-3 control-label">预计金额:</label>
	                    <div class="col-sm-9">
	                    	<div class="input-group">
					          <input class="form-control" id="budgetPay" type="number" min="0" />
				      		  <span class="input-group-addon">元</span>
				      		</div>
		                </div>
	                </div>
				 	<div class="form-group">
				 	 	<div class="col-sm-3">
	            	 	</div>
				 		<div class="col-sm-9 detail">				               
		                  <span class="mileage"></span>&nbsp&nbsp<span class="travelTime"></span>
		                </div>
	                </div>
	                <div class="form-group">
				 	 	<div class="col-sm-3">
	            	 	</div>
				 	 	<div class="col-sm-9">
	                 	  <input  type="button" class="btn btn-primary" id="saveOrder" value="预约专车"/>
					      <button type="button"  class="btn btn-default" id="close_modal">取消</button>
				        </div>
			        </div>
			        
	                <div class="form-group">
	            		<div class="col-md-12 col-md-offset-9">
	                   		<label>
				            	<input id="limit"  type="checkbox" >
				            </label>
		                    <label style="font-size:15px;">限行车辆</label>
	                	</div>
	                	<div class="col-sm-3">
	            	 	</div>
				    	<div class="col-sm-9  table-responsive">
			        		<table id="drivers-table" class="table table-condensed table-bordered">
								<tr style="font-size:15px;">
									<th>选择</th>
									<th>员工姓名</th>
									<th>驾驶车辆</th>
									<th>距离(公里)</th>
								</tr>
								<tbody id="tbodyId">
								
								</tbody>
							</table>
						</div>
					</div>
			 	</div>
			 	<div class="form-group">
				</div>
		  	</form>
     	</div>
    </div>
  </div>
</div>
-->
<!--销单-->
<form class="form-horizontal" method="post">
		<div class="modal fade" id="dialog_cancel">
		  <div class="modal-dialog">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
		        <h4 class="modal-title">输入销单原因</h4>
		      </div>
		      <div class="modal-body">
		      	<input type="hidden" name="id" id="dialog_cancel_id">
		      	
		      	<div class="form-group">
		            <div class="col-sm-12">
		                <p class="form-control-static">
							<label style="padding-right:20px;">
								<input type="radio" name="cancel_reason" value="与客户协商一致取消订单"> 与客户协商一致取消订单
							</label>
						</p>
		            </div>
		            <div class="col-sm-12">
		                <p class="form-control-static">
							<label style="padding-right:20px;">
								<input type="radio" name="cancel_reason" value="客户呼叫多人，只用先到服务人员"> 客户呼叫多人，只用先到服务人员
							</label>
						</p>
		            </div>
		            <div class="col-sm-12">
		                <p class="form-control-static">
							<label style="padding-right:20px;">
								<input type="radio" name="cancel_reason" value="客户拒接电话"> 客户拒接电话
							</label>
						</p>
		            </div>
		            <div class="col-sm-12">
		                <p class="form-control-static">
							<label style="padding-right:20px;">
								<input type="radio" name="cancel_reason" value="客户单方面取消"> 客户单方面取消
							</label>
						</p>
		            </div>
		            <div class="col-sm-12">
		                <p class="form-control-static">
							<label style="padding-right:20px;">
								<input type="radio" name="cancel_reason" value="other"> 其他
							</label>
						</p>
		            </div>
		        </div>
		      	
		      	<div class="form-group">
		            <div class="col-sm-12">
		                <textarea class="form-control" cols="20" id="dialog_cancel_content" name="content" rows="2" required></textarea>
		            </div>
		        </div>
		      </div>
		      <div class="modal-footer">
		    	<button type="button" class="btn btn-primary" id="ok_modal_cancel" action="${ctx}/zhuanche/cancel">提交</button>
		    	<button type="button" class="btn btn-default" id="close_modal_cancel">关闭</button>
		      </div>
		    </div><!-- /.modal-content -->
		  </div><!-- /.modal-dialog -->
		</div>
</form>
<!--添加备注-->
<div class="form-horizontal">
	<div class="modal fade" id="dialog_modifyCash">
	   <div class="modal-dialog">
	     <div class="modal-content">
	    	<div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
	        	<h4 class="modal-title">添加备注</h4>
	        </div>
		    <div class="modal-body">
	      	<form action=""  method="post">
	      		<input type="hidden" id="orderId"/>
	      		
		      	<div class="form-group">
	      	 		<label class="col-sm-3 control-label">订单号：</label>
                    <div class="col-sm-8">
                    	<label  class="control-label" id="orderNo" ></label>
                    </div>
		        </div>
		         <div class="form-group">
                    <label class="col-sm-3 control-label">备注：</label>
                    <div class="col-sm-8">
                    	<textarea class="form-control" distable="ture" cols="60"  id="memo" rows="3" required></textarea>
                    </div>
				 </div>
		         <div class="form-group" >
                    <label class="col-sm-3 control-label">原有备注：</label>
                    <div class="col-sm-8" x>
                    	<textarea  class="form-control"  readonly="true" cols="60"  id="oldmemo" rows="6"></textarea>
	                </div>
				 </div>
				   <div class="form-group">
                 	  <div class="col-sm-6">
                	  </div>
                	  <div class="col-sm-3">
					      <input  type="button" class="btn btn-primary" id="save" value="确定">
					      <button type="button" class="btn btn-default" id="close_modal_memo">关闭</button>
		        	  </div>
		           </div>  
		  	</form>
	     	</div>
	     </div>
	  </div>
	</div>
</div>


<!--收回-->
<div class="form-horizontal">
	<div class="modal fade" id="dialog_callback">
	   <div class="modal-dialog">
	     <div class="modal-content">
	    	<div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
	        	<h4 class="modal-title">收回</h4>
	        </div>
		    <div class="modal-body">
		      	<form action="${ctx}/zhuanche/callback"  method="post">
		      		<input type="hidden" id="orderId3" name="id"  />
			      	<div class="form-group">
		      	 		<label class="col-sm-3 control-label">订单号:</label>
	                    <div class="col-sm-8">
	                    	<label  class="control-label" id="orderNo3" ></label>
	                    </div>
			        </div>
			        <div class="form-group">
	                    <label class="col-sm-3 control-label">收回原因:</label>
	                    <div class="col-sm-8">
	                    	<textarea class="form-control" cols="60" name="cause" id="cause3" rows="3" required></textarea>
	                    </div>
					</div>
					<div class="form-group">
		            	<div class="col-sm-6">
		            	</div>
		            	<div class="col-sm-3">
							<input  id="callback" type="button" class="btn btn-primary" value="确定">
							<button type="button" class="btn btn-default" id="close_modal_callback">关闭</button>
			        	</div>
			        </div>  
			  	</form>
	     	</div>
	     </div>
	  </div>
	</div>
</div>

<!--派单-->
<div id="dialog_paidan" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel">
  <div class="modal-dialog modal-lg">
    <div class="modal-conten">
     	<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    	<div>
	    <ul class="modal-paid">
	    	<input type="hidden" id="paidanOrderId" />
	    	<input type="hidden" id="paidanOrderLng" />
	    	<input type="hidden" id="paidanOrderLat" />
	     	<li class="modal-dtu hidden-xs">
	     		<div id="allmap" style="height:100%;width:100%;">
	     		</div>
	     	</li>
	     	<li class="modal-lbiao">
	     		<div class="modal-kehu">
	     			<p>客户姓名：<span id="paidanClientName"></span></p>
	     			<p>客户电话：<span id="paidanClientPhone"></span></p>
	     			<p>预约地址：<span id="paidanFromPlace"></span></p>
	     			<p>预约车型：<span id="paidanCarType"></span></p>
	     		</div>
	     		<div class="modal-sos">
	     			<div  class="row">
	     				<div class="col-xs-5">
	     					<span style="line-height: 2.3;"><b>推荐服务人员</b></span>
	     				</div>
	     				<div class="col-xs-7">
	     					<select id="distance" style="width:163px;height:30px;padding:0;margin-right:3px;" class="form-control">
								<option value="5" selected="selected">5公里范围内查找</option>
								<option value="10">10公里范围内查找</option>
								<option value="15">15公里范围内查找</option>
								<option value="20">20公里范围内查找</option>
								<option value="50">50公里范围内查找</option>
							</select>
						</div>
					</div>
	     		</div>
	     		<div class="modal-sj" id="paidanDrivers">
	     		</div>
	     	</li>
	    </ul>
	  	</div>   
    </div>
  </div>
</div>

<!--导出-->
<div class="form-horizontal">
	<div class="modal fade" id="dialog_export" data-backdrop="static">
	   <div class="modal-dialog modal-lg">
	     <div class="modal-content">
	    	<div class="modal-header">
	    		<button type="button" class="close" data-dismiss="modal" aria-hidden="false">&times;</button>
	        	<h4 class="modal-title">正在导出...，请不要刷新或离开当前页面</h4>
	        </div>
		    <div class="modal-body">
			  	<div class="progress" id="export_process" style="display:none;">
				  <div class="progress-bar progress-bar-info progress-bar-striped active" style="width: 1%">
				    <span>0% 已完成</span>
				  </div>
				</div>
			  	<div class="form-group">
                	<div class="col-sm-12" id="errormessage_div">
	            	</div>
                </div>
	     	</div>
	     </div>
	  </div>
	</div>
</div>

</@override>

<@override name="footer">
<script type="text/javascript">
	var hasPermission_orderComplete = false;
	<@shiro.hasPermission name='zhuancheComplete'>
        hasPermission_orderComplete = true;
    </@shiro.hasPermission>
	window.daijia = {ctx : '${ctx}',lng : '${lng}', lat : '${lat}',userId:'<@shiro.principal property='id'/>'};
	var hasPermission_powercancel=false;
	var hasPermission_powerrevoke=false;
	var hasPermission_paidan=false;
	var hasPermission_zhuanCreate=false;
	var mainCompany=false; 
	var tiaojia = false;
	<@shiro.hasPermission name='zhuanCancel'>
		hasPermission_powercancel=true;
	</@shiro.hasPermission>
	<@shiro.hasPermission name='zhuanCallback'>
		hasPermission_powerrevoke=true;
	</@shiro.hasPermission>
	<@shiro.hasPermission name='zhuanPaidan'>
		hasPermission_paidan=true;
	</@shiro.hasPermission>
	<@shiro.hasPermission name='zhuanCreate'>
		hasPermission_zhuanCreate=true;
	</@shiro.hasPermission>
	<@shiro.isMainCompany>
		mainCompany=true;
	</@shiro.isMainCompany>
	<@tiaojia>
    	tiaojia = true;
    </@tiaojia>
</script>
<script src="${ctx}/assets/js/bootstrap-datetimepicker.min.js"></script>
<script src="${ctx}/assets/js/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="//api.map.baidu.com/api?v=2.0&ak=AuNk3YS21DSmHEEvIFDf9dbD" type="text/javascript"></script> 
<script src="//api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js" type="text/javascript"></script>
<script src="${ctx}/assets/js/RichMarker_min.js" type="text/javascript"></script>
<script src="${ctx}/assets/js/datepicker.js"></script>
<script src="${ctx}/assets/js/jquery.paging.min.js"></script>
<script src="${ctx}/assets/js/zhuanche/orderlist.js"></script>
<script src="${ctx}/assets/js/pushmessage.js"></script>
<script src="${ctx}/assets/js/jquery.autocomplete.min.js"></script>
<script type="text/javascript">
<@jgpt>
	window.jgpt = true;
</@jgpt>
</script>
</@override>
<@extends name="../layout.ftl"/>
